package com.groupbuying.currency.producer.connector;

import java.util.Map;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * class_name: PayInfoFeign
 * package: com.groupbuying.currency.consumer.connector
 * description: 支付中心Feign接口
 * creat_user: Ywxd
 * creat_date: 2019/6/13
 * creat_time: 9:29
 **/
@Service
@FeignClient(name = "bus-pay")
public interface PayInfoFeign {
    @GetMapping("/payResult/getInfoForCurrencyWeChatRemind")
    public Map<String,String> getInfoForCurrencyWeChatRemind(@RequestParam("id") String id);
    /**
     * 通过payId获积分中心使用，通过支付单号查询门店名称，积分支付类型，订单号
     * @param payId
     * @return map
     */
    @GetMapping("/payResult/getOrderInfoCounterNameCurrencyType")
    public Map<String,String> getOrderInfoCounterNameCurrencyType(@RequestParam("payId") String payId);
}